home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD ROM Paradise Collection 4
/
CD ROM Paradise Collection 4 1995 Nov.iso
/
asm
/
alib11b.zip
/
CODE1.ZIP
/
DISPGRAP
/
L4.ASM
< prev
next >
Wrap
Assembly Source File
|
1988-04-02
|
471b
|
39 lines
; *** Listing 4 ***
;
; Sample code to illustrate various approaches to generating local
; symbols within REPT loops that don't seem to work with MASM 5.0.
;
dosseg
.model small
.code
mac1 macro
rept 10
local testlabel
jmp testlabel
testlabel:
endm
endm
mac2 macro
local testlabel
rept 10
jmp testlabel
testlabel:
endm
endm
start:
mac1
mac2
rept 10
local testlabel
jmp testlabel
testlabel:
endm
end start